const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token, //用户token
  userId: state => state.user.id, // 用户id
  name: state => state.user.name, // 用户名
  info: state => state.user.info, // 用户信息
  currentOrgId: state => state.user.currentOrgId, // 用户当前组织id
  orgRoleList: state => state.user.orgRoleList, // 用户组织列表
  permission_routes: state => state.permission.routes,
  errorLogs: state => state.errorLog.logs
  
}
export default getters
